require 'rails_helper'

RSpec.describe <%= @model.model %>, regressor: true do

  # === Relations ===
  <%= @model.belong_to_relations %>
  <%= @model.has_one_relations %>
  <%= @model.has_many_relations %>

  # === Nested Attributes ===
  <%= @model.nested_attributes %>

  # === Database (Columns) ===
  <%= @model.columns %>

  # === Database (Indexes) ===
  <%= @model.indices %>

  # === Validations (Length) ===
  <%= @model.length_validators %>

  # === Validations (Presence) ===
  <%= @model.presence_validators %>

  # === Validations (Numericality) ===
  <%= @model.numericality_validators %>

  <% if Regressor.configuration.include_enums %>
  # === Enums ===
  <%= @model.enums %>
  <% end %>
end